#ifndef OPENFILE_H
#define OPENFILE_H
/*!
  * \file openfile.f
  * \version 0.1
  */
#include <opencv2/opencv.hpp>
#include <QString>
#include <QDebug>
#include <imagelist.h>
#include <image.h>
/*!
  * \namespace cv
  * namespace of OpenCV
  */
using namespace cv;
/*!
  * \class ImageList
  * \brief class to manage an image
  */
class OpenFile
{
private:
    QString videoName;

public:
    /*!
      * \fn OpenFile (QString dirVideo);
      * \brief constructor
      * \param dirVideo Dir of thhe loaded video in a QString
      */
    OpenFile(QString dirVideo);
    /*!
      * \fn ImageList startLoad()
      * \brief load a video and create all image in an ImageList
      */
    ImageList startLoad();
};

#endif // OPENFILE_H
